/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sistema.de.fixture.auf;

import java.util.HashMap;
import sistema.de.fixture.auf.dominio.Fecha;
import sistema.de.fixture.auf.dominio.Gestion;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.OutputStreamWriter;
import javax.swing.JFileChooser;
import sistema.de.fixture.auf.dominio.Equipo;
import sistema.de.fixture.auf.dominio.Partido;
import sistema.de.fixture.auf.interfaz.Formulario;

/**
 *
 * @author gabriel
 */
public class SistemaDeFixtureAUF {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
 
        /*System.out.print(p1.equals(p3));
        System.out.print(p1.equals(p2));*/
        
        Gestion objG = new Gestion();
        //ArrayList <Fecha>colFixture = objG.generarFixture();
        //HashMap<String, Fecha> colFixture = objG.generarFixtureTrucho();
        //ArrayList <Partido> colFixture = objG.generarPartidosDelCampeonato();
        //for (Fecha objF : colFixture.values()) {
        //    System.out.println(objF.toString());
        //}
        Formulario frm = new Formulario(objG);
        frm.setVisible(true);

    }


    /**
     * Metodo encargado de acceder al fichero donde se guardan los equipos 
     * y cargarlos
     * @throws FileNotFoundException
     * @throws IOException 
     */


}
